package com.zx.zxapibackend.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zx.zxapibackend.model.dto.interfaceInfo.InterfaceInfoQueryRequest;
import com.zx.zxapibackend.model.vo.AllInterfaceInfoVo;
import com.zx.zxapicommon.common.BaseResponse;
import com.zx.zxapicommon.model.entity.InterfaceInfo;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Bro
 * @description 针对表【interface_info(接口信息)】的数据库操作Service
 * @createDate 2023-04-13 10:41:14
 */
public interface InterfaceInfoService extends IService<InterfaceInfo> {
    void validInterfaceInfo(InterfaceInfo interfaceInfo, boolean add);



    BaseResponse<Page<AllInterfaceInfoVo>> getAllInterfaceInfoPage(InterfaceInfoQueryRequest interfaceInfoQueryRequest, HttpServletRequest request);

    BaseResponse<Page<AllInterfaceInfoVo>> listInterfaceInfoByPage(InterfaceInfoQueryRequest interfaceInfoQueryRequest);
}
